package lawyer.repository;

import common.model.Propaganda;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;
public interface PropagandaRepository extends JpaRepository<Propaganda, Long> {
    List<Propaganda> findByApprovedAndTypeAndPublishDateAndLawyerId(Boolean approved, String type, Date publishDate, Long lawyerId);
}